package com.hkts.naturalgas.curvesettings.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author yck
 * @since 2021-10-11
 */
public class CurveSettings extends Model<CurveSettings> {

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 车间
     */
    private String workShop;
    /**
     * 火焰系统
     */
    private String flameSystem;
    /**
     * 排序字段
     */
    private Integer orderBy;
    /**
     * 时间点
     */
    private Float timePoint;
    /**
     * 温度
     */
    private Float temperature;
    /**
     * 是否在当前节点1是0不是
     */
    private String currentNode;
    /**
     * 升温速度（度每小时）
     */
    private Float rateHour;
    /**
     * 排烟架还是燃烧架
     */
    private String type;
    /**
     * 总共秒数
     */
    private Integer totalSeconds;
    /**
     * 当前秒数
     */
    private Integer currentSeconds;
    /**
     * 升温速度每秒
     */
    private Float rateSeconds;

    /**
     * 曲线id
     */
    private String curveId;

    private String isHidden;

    public String getIsHidden() {
        return isHidden;
    }

    public void setIsHidden(String isHidden) {
        this.isHidden = isHidden;
    }

    public String getCurveId() {
        return curveId;
    }

    public void setCurveId(String curveId) {
        this.curveId = curveId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getWorkShop() {
        return workShop;
    }

    public void setWorkShop(String workShop) {
        this.workShop = workShop;
    }

    public String getFlameSystem() {
        return flameSystem;
    }

    public void setFlameSystem(String flameSystem) {
        this.flameSystem = flameSystem;
    }

    public Integer getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(Integer orderBy) {
        this.orderBy = orderBy;
    }

    public Float getTimePoint() {
        return timePoint;
    }

    public void setTimePoint(Float timePoint) {
        this.timePoint = timePoint;
    }

    public Float getTemperature() {
        return temperature;
    }

    public void setTemperature(Float temperature) {
        this.temperature = temperature;
    }

    public String getCurrentNode() {
        return currentNode;
    }

    public void setCurrentNode(String currentNode) {
        this.currentNode = currentNode;
    }

    public Float getRateHour() {
        return rateHour;
    }

    public void setRateHour(Float rateHour) {
        this.rateHour = rateHour;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getTotalSeconds() {
        return totalSeconds;
    }

    public void setTotalSeconds(Integer totalSeconds) {
        this.totalSeconds = totalSeconds;
    }

    public Integer getCurrentSeconds() {
        return currentSeconds;
    }

    public void setCurrentSeconds(Integer currentSeconds) {
        this.currentSeconds = currentSeconds;
    }

    public Float getRateSeconds() {
        return rateSeconds;
    }

    public void setRateSeconds(Float rateSeconds) {
        this.rateSeconds = rateSeconds;
    }

    public static final String ID = "id";

    public static final String WORK_SHOP = "work_shop";

    public static final String FLAME_SYSTEM = "flame_system";

    public static final String ORDER_BY = "order_by";

    public static final String TIME_POINT = "time_point";

    public static final String TEMPERATURE = "temperature";

    public static final String CURRENT_NODE = "current_node";

    public static final String RATE_HOUR = "rate_hour";

    public static final String TYPE = "type";

    public static final String TOTAL_SECONDS = "total_seconds";

    public static final String CURRENT_SECONDS = "current_seconds";

    public static final String RATE_SECONDS = "rate_seconds";

    public static final String IS_HIDDEN = "is_hidden";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "CurveSettings{" +
                ", id=" + id +
                ", workShop=" + workShop +
                ", flameSystem=" + flameSystem +
                ", orderBy=" + orderBy +
                ", timePoint=" + timePoint +
                ", temperature=" + temperature +
                ", currentNode=" + currentNode +
                ", rateHour=" + rateHour +
                ", type=" + type +
                ", totalSeconds=" + totalSeconds +
                ", currentSeconds=" + currentSeconds +
                ", rateSeconds=" + rateSeconds +
                ", isHidden=" + isHidden +
                "}";
    }
}
